<h1>Listing grade_entries</h1>

<table>
  <tr>
    <th>Person</th>
    <th>Assignment</th>
    <th>Grade</th>
  </tr>

<% for grade_entry in @grade_entries %>
  <tr>
    <td><%=h grade_entry.person_id %></td>
    <td><%=h grade_entry.assignment_id %></td>
    <td><%=h grade_entry.grade %></td>
    <td><%= link_to 'Show', grade_entry %></td>
    <td><%= link_to 'Edit', edit_grade_entry_path(grade_entry) %></td>
    <td><%= link_to 'Destroy', grade_entry, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New grade_entry', new_grade_entry_path %>
